export default {
  props: ['compData', 'compStyle', 'compIndex', 'pCompIndex', 'previewList'],
  inject: ['compList'],
  computed: {
    _index() {
      return this.pCompIndex === undefined ? this.compIndex : this.pCompIndex + '-' + this.compIndex
    }
  }
}
